{{$ := .}}
<div class="row-fluid">
	<div class="block span12">
		<p class="block-heading">插件列表</p>
		<div class="block-body collapse in">
			<table class="table">
				<thead>
				<tr>
					<th>插件名</th>
					<th>启用</th>
					<th style="width:30px;">操作</th>
				</tr>
				</thead>
				<tbody>
				{{range .PluginList}}
				<tr>
					<td>{{.Name}}</td>
					<td>{{if .Enabled}}<span class="text-success">是</span>{{else}}<span class="text-error">否</span>{{end}}</td>
					<td>
						<a href="{{$.DomainPath}}/admin/plugin/{{.Name}}"><i class="icon-pencil"></i></a>
					</td>
				</tr>
				{{end}}
				</tbody>
			</table>
		</div>
	</div>
</div>